Blockly.Blocks['doraemon_1'] = {
    init: function() {
      this.appendDummyInput()
          .appendField(new Blockly.FieldImage("res1/doraemon_1.jpg", 200, 96, "*"));
      this.setPreviousStatement(true, null);
      this.setNextStatement(true, null);
      this.setColour(230);
   this.setTooltip("");
   this.setHelpUrl("");
    }
  };

  Blockly.Blocks['doraemon_2'] = {
    init: function() {
      this.appendDummyInput()
          .appendField(new Blockly.FieldImage("res1/doraemon_2.jpg", 200, 96, "*"));
      this.setPreviousStatement(true, null);
      this.setNextStatement(true, null);
      this.setColour(230);
   this.setTooltip("");
   this.setHelpUrl("");
    }
  };

  Blockly.JavaScript['doraemon_1'] = function(block) {
    // TODO: Assemble JavaScript into code variable.
    var code = "#doraemon_1";
    return code;
  };

  Blockly.JavaScript['doraemon_2'] = function(block) {
    // TODO: Assemble JavaScript into code variable.
    var code = '#doraemon_2';
    return code;
  };
